package cn.tedu.process.param;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.util.Map;

@Data
public class EMQXMetaData {

    @JSONField(name="publish_received_at")
    private long publishReceivedAt;
    @JSONField(name="pub_props")
    private Map<String, Object> pubProps;
    private String peerhost;
    private int qos;
    private String topic;
    private String clientid;
    private String username;
    private String event;
    private Map<String, Object> metadata;
    private long timestamp;
    private String node;
    private String id;
    private Map<String, Object> flags;
    private String payload;
    private ChargingProgressParam payloadObject;
}
